<?php
namespace app\common\model;

use think\Model;
use think\model\concern\SoftDelete;

class Icon extends  Model
{
    //软删除
    use SoftDelete;

    //指定主键
    protected $pk = 'icon_id';

    //指定模型关联的表名
    protected $table = 'icons';

    //定义软删除的字段
    protected $deleteTime = 'deleted_time';

}